package com.gzc.pm.dao;

import java.util.List;

import com.gzc.pm.bean.CpkStandardBean;

import cn.skyclass.ibatis.IBatisDao;
import cn.skyclass.net.OperationResult;


public class CpkStandardDao {
	
	private IBatisDao dao = new IBatisDao();
	public OperationResult insert(List<CpkStandardBean> list){
		return dao.executeInsertBatch("CpkStandard.insert", list);
	}
	
	@SuppressWarnings("unchecked")
	public List<CpkStandardBean> getListByPrId(int prId){
		return dao.getList("CpkStandard.getListByPrId", prId);
	}
	
	public OperationResult update(List<CpkStandardBean> list){
		return dao.executeUpdateBatch("CpkStandard.update", list);
	}

}
